package com.ce.sys.ftp;

import java.io.IOException;

import org.apache.commons.net.ftp.FTPClient;

public class NewFTPClient extends FTPClient {
	
	private boolean free;
	
	public NewFTPClient(){
		free = true;
	}
	
	public boolean isFree(){
		return free;
	}

	@Override
	public void disconnect() throws IOException {
		free = true;
	}

	@Override
	public boolean logout() throws IOException {

		free = true;
		return true;
	}
	
	
}
